package com.mycinema.dao;

import java.util.List;

import com.mycinema.entity.Category;

public interface CategoryDao {
	//添加注释
	//数据访问接口
	List<Category> getAll();
	
	Category fetchById(int id);
	
	int addCategory(Category category);
	
	void delete(int id);
}
